package com.aiti.lulian.feign.impl;

import com.aiti.base.core.utils.message.Message;

import com.aiti.lulian.dto.SearchDto;
import com.aiti.lulian.entity.ScaleSearchProductDto;
import com.aiti.lulian.feign.ScaleEnterpriseService;
import org.springframework.stereotype.Component;

@Component
public class ScaleEnterpriseServiceFallBack implements ScaleEnterpriseService {
    @Override
    public Message addEnterprise(SearchDto searchDto) {return Message.fail("写入企业搜索库失败");}

    @Override
    public Message addSearchProduct(ScaleSearchProductDto searchProductDto) {
        return Message.fail("远程调用失败");
    }
}
